package com.niiwoo.civet.trade.service.contract;

import java.util.List;

import com.niiwoo.civet.trade.dto.request.ProjectContractInfoRequestDTO;
import com.niiwoo.civet.trade.dto.response.contract.ProjectContractResponseDTO;
import com.niiwoo.civet.trade.enums.FadadaContractTemplateEnum.TemplateTypeEnum;

public interface ProjectContractDubboService {

	/**
	 * 查询用户在指定标的签署的指定类型合同
	 * 
	 * @param userId
	 * @param projectId
	 * @param templateType
	 * @return
	 */
	public ProjectContractResponseDTO queryProjectContract(String userId, Long projectId, TemplateTypeEnum templateType);

	ProjectContractResponseDTO queryProjectContractByProjectIdAndContractType(Long projectId, TemplateTypeEnum templateType);
	
	 /**
	  * 查询多个合同
	  * @param projectId
	  * @param contractTypes
	  * @return
	  */
	default List<ProjectContractResponseDTO> queryProjectContracts(ProjectContractInfoRequestDTO requestDTO){
		throw new UnsupportedOperationException("未实现");
	}
	
}
